package com.ndbg.demo.model.sign;

import javax.validation.constraints.NotNull;

/**
 * 长期证章申请接口入参
 * @author chenXB
 * @createTime 2023年09月12日 09:30:00
 */
public class ApplyLongTermRequest implements ESignRequest{

    /**
     * 证书名称(证书名称，个人传姓名，企业传企业名称)
     */
    @NotNull
    private String certName;

    /**
     * 证书类型(1个人2企业)
     */
    @NotNull
    private String certType;

    /**
     * 证件号(个人传身份证，企业传统一社会信用代码)
     */
    @NotNull
    private String cardNo;

    /**
     * 印章图片(印章图片base64)
     */
    @NotNull
    private String picData;

    /**
     * 印章图片格式（JPG、GIF、PNG）
     */
    @NotNull
    private String imgExt;

    /**
     * 印章密码
     */
    @NotNull
    private String password;

    /**
     * 法人手机号码(申请企业证书时必填)
     */
    private String legalPersonPhone;

    /**
     * 经办人证件类型(申请企业证书时必填，1为身份证)
     */
    private String operatorCardType;

    /**
     * 经办人证件号码(申请企业证书时必填)
     */
    private String operatorCardNo;

    /**
     * 经办人姓名(申请企业证书时必填)
     */
    private String operatorName;

    /**
     *经办人联系电话(申请企业证书时必填)
     */
    private String operatorPhone;

    /**
     * 企业类型(申请企业证书时必填，1医疗、2政企、3民营、4.其他)
     */
    private String entType;


    /**
     * 方法编码
     */
    @Override
    public String getMethodCode() {
        return "APPLYLONGTERM";
    }

    public String getCertName() {
        return certName;
    }

    public void setCertName(String certName) {
        this.certName = certName;
    }

    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getPicData() {
        return picData;
    }

    public void setPicData(String picData) {
        this.picData = picData;
    }

    public String getImgExt() {
        return imgExt;
    }

    public void setImgExt(String imgExt) {
        this.imgExt = imgExt;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getLegalPersonPhone() {
        return legalPersonPhone;
    }

    public void setLegalPersonPhone(String legalPersonPhone) {
        this.legalPersonPhone = legalPersonPhone;
    }

    public String getOperatorCardType() {
        return operatorCardType;
    }

    public void setOperatorCardType(String operatorCardType) {
        this.operatorCardType = operatorCardType;
    }

    public String getOperatorCardNo() {
        return operatorCardNo;
    }

    public void setOperatorCardNo(String operatorCardNo) {
        this.operatorCardNo = operatorCardNo;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getOperatorPhone() {
        return operatorPhone;
    }

    public void setOperatorPhone(String operatorPhone) {
        this.operatorPhone = operatorPhone;
    }

    public String getEntType() {
        return entType;
    }

    public void setEntType(String entType) {
        this.entType = entType;
    }
}
